﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Assets.IOLibrary.Model
{
    public class IO
    {
        public PLC PLC { get; set; } = new PLC();

        private static IO instance;
        private static readonly object obj = new object();
        public static IO Instance
        {
            get
            {
                if (instance == null)
                    lock (obj)
                    {
                        if (instance == null)
                            instance = new IO();
                    }
                return instance;
            }
        }
        private IO()
        {

        }
        public void Init()
        { }
    }
}
